package config

import "github.com/tal-tech/go-zero/rest"

type Config struct {
	rest.RestConf
	MysqlGenerateGorm struct {
		DataSource string
	}
	GenerateModel struct {
		SavePath            string
		SavePathXorm        string
		SavePackageName     string
		SavePackageNameXorm string
		ModelCover          bool
		GenerateModel       bool
		GenerateDao         bool
		GenerateEnum        bool
		TableNames          []string
	}
	MysqlGenerateXorm struct {
		Lang        string
		TargetType  string
		TplName     string
		TplFile     string
		Readonly    bool
		SavePath    string
		PackageName string
	}

	//datasource: ""
	//lang: java
	//target-type: repository
	//tpl-name: repository.tpl
	//tpl-file: tpl/java/repository.tpl
	//readonly: false
	//output: ""
	//skip-tables:
	//skip-columns:
	//type-map:
	//package-name:
}
